package com.example.demo.enums;

/**
 * @author lyc
 * @date 2019/6/18.
 */
public enum Valid {
    /**
     *有效
     */
    ENABLE(1),
    /**
     *无效
     */
    DISABLE(0);
    private int value;
    Valid(int value){
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}